home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.1
- date 88.07.14.14.08.03; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @/*
- * ttyslot.c --
- *
- * Source code for the ttyslot library procedure.
- *
- * Copyright 1988 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- */
-
- #ifndef lint
- static char rcsid[] = "$Header: proto.c,v 1.2 88/03/11 08:39:08 ouster Exp $ SPRITE (Berkeley)";
- #endif not lint
-
- /*
- *----------------------------------------------------------------------
- *
- * ttyslot --
- *
- * This is a Sprite replacement for the UNIX ttyslot library
- * procedure, which supposedly returns the number of the entry
- * the ttys file that corresponds to the process' control
- * terminal. Sprite doesn't really have the notion of a control
- * terminal, so this procedure pretends it couldn't find an entry.
- *
- * Results:
- * 0, as if there was no corresponding slot in the ttys file.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
- int
- ttyslot()
- {
- return 0; /* Pretend we couldn't find it. */
- }
- @
-